#pragma once

#include "resource.h"
#include <Commctrl.h>
#include <stdio.h>
#include <Strsafe.h>
void OnInitDlg(HWND hDlg, WPARAM wParam, LPARAM lParam);

void OnClose(HWND hDlg);
void OnCommand(HWND hDlg, WPARAM wParam, LPARAM lParam);
void OnCommandConnect(HWND hDlg, WPARAM wParam, LPARAM lParam);
void OnCommandResgister(HWND hDlg, WPARAM wParam, LPARAM lParam);
BOOL CheckStringValid(LPCTSTR szBuffer);
BOOL CheckCharValid(const TCHAR &c);

